package com.xhwl.logistics.dto.manipulate;

import com.xhwl.logistics.validate.blacklist.CreateBlacklistConstraint;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@Setter
@Getter
@CreateBlacklistConstraint(message = "创建黑名单存在非法参数")
public class VehicleBlacklistCreateDTO {

    @NotNull(message = "项目id不能为空")
    private Integer projectId;

    private String parkingLotName;

    @NotEmpty(message = "车牌号码不能为空")
    private String plateNumber;

    private String plateOwnerName;

    private String plateOwnerPhone;

}
